package com.yonyou.cloud.member.libs.key;

import com.yonyou.cloud.member.domainmodel.vo.EntityId;

public interface KeyRegistry {
    <T extends EntityId> void register(Class<T> clazz);

    <T extends EntityId> T createKey(Class<T> clazz, long id);
}